﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Module.Interfaces.Model;
using System.Net.Mail;

namespace Module.MailingSystem.Interfaces
{
    public interface IMailingModule:IModule
    {
        IModuleNode GetTemplateNode(IModuleNode nodeWithData, string templateFieldOrNodeName);
        IMailTemplate ReplaceTemplateParamethers(IModuleNode forPage, IMailTemplate result);
        MailMessage Convert(IModuleNode forPage, IMailTemplate templateMessage); 
        bool Send(IModuleNode forPage, IMailTemplate template);

        
    }
}
